var dt_nav_you = document.querySelector("#dt_nav_you");

var dt_nav_bottom = document.querySelector("#dt_nav_bottom");
// 第一行
dt_nav_you.addEventListener("mouseover",function () {
    console.log("谁在上面");
    dt_nav_bottom.style.display = "block";
})

dt_nav_bottom.addEventListener("mouseleave",function () {
    console.log("离开了");
    dt_nav_bottom.style.display = "none";
})
//我的京东
var ttbar_myjd =document.querySelector("#ttbar_myjd");

var dt_nav_my =document.querySelector("#dt_nav_my");
ttbar_myjd.addEventListener("mouseover",function () {
    console.log("谁在上面");
    dt_nav_my.style.display = "block";
})
dt_nav_my.addEventListener("mouseleave",function () {
    console.log("离开了");
    dt_nav_my.style.display = "none";
})
//企业采购
var dt_nav_dtt =document.querySelector("#dt_nav_dtt");

var dt_nav_ner =document.querySelector("#dt_nav_ner");
dt_nav_dtt.addEventListener("mouseover",function () {
    console.log("谁在上面");
    dt_nav_ner.style.display = "block";
})
dt_nav_dtt.addEventListener("mouseleave",function () {
    console.log("离开了");
    dt_nav_ner.style.display = "none";
})
//客户服务
var dt_nav_dte = document.querySelector("#dt_nav_dte");

var dt_nav_zz =document.querySelector("#dt_nav_zz");
dt_nav_dte.addEventListener("mouseover",function () {
    console.log("谁在上面");
    dt_nav_zz.style.display = "block";
})
dt_nav_dte.addEventListener("mouseleave",function () {
    console.log("离开了");
    dt_nav_zz.style.display = "none";
})
//网站导航
var dt_nav_dao = document.querySelector("#dt_nav_dao");

var dt_nav_hang = document.querySelector("#dt_nav_hang");

dt_nav_dao.addEventListener("mouseover",function () {
    console.log("在上面");
    dt_nav_hang.style.display ="block";
})
dt_nav_dao.addEventListener("mouseleave",function () {
    console.log("离开了");
    dt_nav_hang.style.display = "none";
})

//轮播
var swiper = new Swiper('.swiper-container', {
    pagination: {
        el: '.swiper-pagination',
    },
    navigation:{
        nextE1:'.swiper-button-next',
        pextE1:'.swiper-button-prev',
    },
    loop:true
});




